import { http } from "@/utils/http";
import { baseUrlApi } from "./utils";
import { queryParams } from '@/utils/xwCommon'

type orderResult = {
  page: any;
  result: any
};

/** 订单通知邮箱查询 */
export const getOrderorder = () => {
  return http.request<orderResult>("get", baseUrlApi("/api/backend/order/selemail"));
};


/** 订单通知邮箱修改 */
export const changeorderupdateemail = (data?: object) => {
  return http.request<orderResult>("post", baseUrlApi("/api/backend/order/updateemail"), { data });
};

